package dao;


import dto.CompanyModelDto;
import model.CompanyModel;

import java.util.List;


public interface ICompanyDao {
    CompanyModelDto getCommonModelDto();
    int add(CompanyModel companyModel);
    int update(CompanyModel companyModel);
    int del(CompanyModel companyModel);
    List<CompanyModel> findAll();
    CompanyModel findById(CompanyModel companyModel);
    List<CompanyModel> findBySome(CompanyModel companyModel);
}
